<?php /* Smarty version 2.6.19, created on 2010-10-26 16:41:12
         compiled from web_news.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'getcolorw', 'web_news.html', 66, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $this->_tpl_vars['gs']['companyname']; ?>
--万利达书城</title>
<link href="skins/stlye/globle.css" rel="stylesheet" type="text/css" />
<link href="skins/stlye/link.css" rel="stylesheet" type="text/css" />
<link href="skins/stlye/footer.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.4.1.js"></script>
<script type="text/javascript" src="js/jquery.autocomplete.js"></script>
<link rel="stylesheet" type="text/css" href="js/jquery.autocomplete.css" />
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript">


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
</script>
</head>

<body ><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "top_inc.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'web_daohang.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:3px; " >
  <tr>
    <td width="222" rowspan="3" align="left" valign="top"  style="border: solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0" >
      <tr>
        <td ><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><img src="skins/stlye/images/jbbj.jpg" /></td>
          </tr>
          <tr>
            <td style="padding:0 5px;"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'web_left.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="10"></td>
      </tr>
      <tr>
        <td align="center">&nbsp;</td>
      </tr>
    </table></td>
    
    <td width="3" align="left" valign="top"></td>
    <td width="779" align="left" valign="top"  style="border:solid 1px #CCC;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
     
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="28" background="skins/stlye/images/bdsjtp_03.jpg" style="font-size: 14px; font-weight:bold; padding-left:15px;">出版社新闻</td>
          </tr>
           <tr>
        <td style="padding:0 0 10px 0;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  
  <tr>
    <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="69%" align="left" valign="top" style="padding:5px 10px 15px 10px;" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><?php if ($this->_tpl_vars['newscount'] != '0'): ?><table width="100%" border="0" cellpadding="0" cellspacing="0" class="xinwen">
 <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['nrs']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
  <tr>
    <td width="70%" ><a href="news_show.php?id=<?php echo $this->_tpl_vars['nrs'][$this->_sections['i']['index']]['id']; ?>
" target="_blank" >&#8226;&nbsp;&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['nrs'][$this->_sections['i']['index']]['topicname'])) ? $this->_run_mod_handler('getcolorw', true, $_tmp, $this->_tpl_vars['nrs'][$this->_sections['i']['index']]['colorstr'], $this->_tpl_vars['nrs'][$this->_sections['i']['index']]['weightstr']) : smarty_modifier_getcolorw($_tmp, $this->_tpl_vars['nrs'][$this->_sections['i']['index']]['colorstr'], $this->_tpl_vars['nrs'][$this->_sections['i']['index']]['weightstr'])); ?>
 </a></td>
    <td width="30%" align="center" ><font class="o"><?php echo $this->_tpl_vars['nrs'][$this->_sections['i']['index']]['creattime']; ?>
 </font></td>
  </tr>
  <?php endfor; endif; ?>
</table>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td align="right" style="padding-right:30px"><?php echo $this->_tpl_vars['pagetext']; ?>
</td>
                </tr>
              </table>
              <?php else: ?><?php echo $this->_tpl_vars['pagetext']; ?>

<table width="385" border="0" align="center" cellpadding="4" cellspacing="4">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">抱歉，没有查询到相应的数据！</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<?php endif; ?></td>
            </tr>
        </table></td>
        
        </tr>
    </table></td>
  </tr>
  </table></td>
      </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "foot_inc.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
</body>
</html>